package com.eamois.service.manual.impl;

import java.util.Collection;

import com.eamois.dao.manual.EnsipEntityDao;
import com.eamois.domain.manual.EnsipEntity;
import com.eamois.domain.manual.EnsipType;
import com.eamois.service.impl.BaseServiceImpl;
import com.eamois.service.manual.EnsipEntityService;


public class EnsipEntityServiceImpl extends BaseServiceImpl<EnsipEntity, EnsipEntityDao> implements EnsipEntityService{


	@Override
	public Collection<EnsipEntity> findAllEnsipEntity() {
		// TODO Auto-generated method stub
		return this.getDao().findAllEnsipEntity();
	}

	@Override
	public Collection<EnsipEntity> findEnsipEntityByOther(EnsipType ensipType,
			String name,String state) {
		// TODO Auto-generated method stub
		return this.getDao().findEnsipEntityByOther(ensipType, name,state);
	}

	@Override
	public EnsipEntity findByTiaoJian(String name,EnsipType ensipType,
			String state) {
		// TODO Auto-generated method stub
		return this.getDao().findByTiaoJian(name,ensipType, state);
	}

	@Override
	public EnsipEntity findByModelAndName(String model, String name) {
		// TODO Auto-generated method stub
		return this.getDao().findByCodeAndName(model, name);
	}

	@Override
	public EnsipEntity findEnsipEntityByOther(EnsipType ensipType, String name) {
		// TODO Auto-generated method stub
		return this.getDao().findEnsipEntityByOther(ensipType, name);
	}

	@Override
	public Collection<EnsipEntity> findEnsipEntityByType(EnsipType ensipType) {
		// TODO Auto-generated method stub
		return this.getDao().findEnsipEntityByType(ensipType);
	}

	@Override
	public Collection<EnsipEntity> findEnsipEntityByState(String state) {
		// TODO Auto-generated method stub
		return this.getDao().findEnsipEntityByState(state);
	}

	@Override
	public boolean updateEnsipEntity(int ensipEntityId, String bomName,
			String bomVar) {
		// TODO Auto-generated method stub
		return this.getDao().updateEnsipEntity(ensipEntityId, bomName, bomVar);
	}

}
